-- GENERATED SPELL FOR [Cultist Infiltrator] --


function spell0_28373(pUnit, Event) --@Ticking Bomb,n/a--
pUnit:FullCastSpellOnTarget(54962,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_28373', 1500, 1)
end

function Sorts_28373(pUnit, Event)
local choix_sorts_28373 = math.random(0, 0)
if choix_sorts_28373 == 0 then
pUnit:RegisterEvent('spell0_28373', 1, 1)
end
end

function mob28373_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_28373', math.random(1500, 3000), 1)
end

function mob28373_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob28373_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob28373_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(28373, 1, 'mob28373_Action')
RegisterUnitEvent(28373, 2, 'mob28373_Leave')
RegisterUnitEvent(28373, 3, 'mob28373_Kill')
RegisterUnitEvent(28373, 4, 'mob28373_Die')
